package bank.exception;

public class DepositException extends Exception {
	String message;
	public DepositException() {}
	public DepositException(String message){
		super(message);
		this.message = message;
	}
	public void printMessage() {
		System.out.println(message);
	}
}